local prefix = "packages.glory_days.pkg."
Fk:loadTranslationTable{
  ["glory_days"] = "光辉岁月",
}

local glory_days = require (prefix.."glory_days")
--local gamemodes = require (prefix.."gamemodes")
--local XDcards = require (prefix.."XDcards")
--gamemodes:addGameMode(require "packages/glory_days/pkg/gamemodes/mode")

local pkgs = {glory_days}

-- 为本扩展包所有武将填写默认设计者
for _, pack in ipairs(pkgs) do
  for _, g in ipairs(pack.generals) do
    if not Fk.translations["zh_CN"]["#"..g.name] then
      Fk.translations["zh_CN"]["#"..g.name] = ""
    end
    if not Fk.translations["zh_CN"]["designer:"..g.name] then
      Fk.translations["zh_CN"]["designer:"..g.name] = ""
    end
    if not Fk.translations["zh_CN"]["cv:"..g.name] then
      Fk.translations["zh_CN"]["cv:"..g.name] = ""
    end
    if not Fk.translations["zh_CN"]["illustrator:"..g.name] then
      Fk.translations["zh_CN"]["illustrator:"..g.name] = ""
    end
    if #g.all_skills == 0 then
      g.hidden = true
    end
  end
end

return pkgs